﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;

namespace Office365.SharePointOnline.Cmdlets
{
    public class OnPremiseService : Office365.SharePointOnline.Cmdlets.IOnPremiseService
    {
        public string Password { get; set; }
        public string Username { get; set; }
        public string Domain { get; set; }

        public System.Net.ICredentials Authenticate()
        {
            return new NetworkCredential(Username, Password, Domain);
        }
    }
}
